import request from './request'
// 登录
export const LoginApi=(data)=>request.post('/login',data)

// 列表
export const ListApi=()=>request.get('/article/list')

// 新增
export const addApi=(data)=>request.post('/article',data)

// 搜索
export const SearchApi=(keyword)=>request.get('/article/list',{params:{keyword}})